home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / hack / 3_1_3 / sys / amiga / splitter / split.doc < prev    next >
Encoding:
Text File  |  1993-02-23  |  1.6 KB  |  64 lines

  1.     Splitter            [split.doc 93/02/21]
  2.  
  3. Usage:
  4.     splitter [-Cc_prototype] [-Dd_prototype] [-ddir_prototype] binary
  5.  
  6. Default prototypes:
  7.     d: %n.dir
  8.     C: %n.c%C
  9.     D: %n.d%D
  10.  
  11. Prototypes:
  12.     %n    base file name
  13.     %C    current code file #
  14.     %D    current data file #
  15.  
  16. Creates:
  17.     binary.dir        directions file
  18.     binary.d00        data files
  19.     binary.d01 ...
  20.     binary.c00        code files
  21.     binary.c01 ...
  22.  
  23. Format of the directions file (subject to change):
  24.     Cbinary.c00
  25.     Cbinary.c01
  26.     Cbinary.c02
  27.     Dbinary.d00
  28.     Dbinary.d01
  29. The above entries may be edited to reflect the location of the various files
  30. if it is necessary for them to be moved by the user.  All C entries must
  31. preceed all D entries.
  32.  
  33. Maximum output file size is 800K (819200 bytes) - this leaves just enough
  34. space on an empty floppy for a small icon.  Note that splitter will not
  35. break a hunk - VERY large hunks will result in files above the limit.
  36.  
  37. Code file contents:
  38. The first code file contains:
  39.     the (modified) HUNK_HEADER from the original binary
  40.     (followed by)
  41. All code files contain:
  42.     HUNK_CODE's from the original binary
  43.  
  44. Data file contents:
  45.     HUNK_BSS's from the original binary
  46.     HUNK_DATA's from the original binary
  47.  
  48. COMPILING
  49.     [SASC5]
  50.     lc -L splitter.c arg.c
  51.  
  52. CHANGES FOR 3.1.1:
  53.     Faster loading by buffering offsets.
  54.     Smaller files: splitter will now write out HUNK_RELOC32short
  55.     relocation blocks whenever possible.
  56.     Blanks may now be between the C/D and the file name in the .dir file.
  57.  
  58. BUGS
  59.     The present system for generating multiple files is a hack -
  60.     multi.[ch] should be upgraded instead.
  61.  
  62.     Many optimizations for minimizing the size of the output file
  63.     could/should/will be added.
  64.